﻿// ////////////////////////////////////////////////////////////////////////////
// 
// SWE Case Tool
// 
// Solution:	CaseTool
// Project:		1. CaseTool
// Filename:	MethodGUIAttribute.cs
// 
// File Created:	21:39 27.05.2013 
// Last Changed:	18:11 05.06.2013
// 
// ////////////////////////////////////////////////////////////////////////////

using System;

namespace SWE.CaseTool
{
	/// <summary>
	/// This attribute marks a gui as the specified method gui! There must be only one gui per method.
	/// </summary>
	[AttributeUsage(AttributeTargets.Class)]
	public class MethodGUIAttribute : Attribute
	{
		/// <summary>
		/// Initializes a new instance of the <see cref="MethodGUIAttribute" /> class.
		/// </summary>
		/// <param name="baseMethod">The base method.</param>
		public MethodGUIAttribute(Type baseMethod) { BaseMethod = baseMethod; }

		/// <summary>
		/// Gets or sets the base method which will be displayed in the gui.
		/// </summary>
		/// <value>
		/// The base method.
		/// </value>
		public Type BaseMethod { get; set; }
	}
}